package com.chukun.disruptor.higher.chain;


import com.lmax.disruptor.EventHandler;

/**
 * handler3: 打印对象
 */
public class EventHandlerTaskThree implements EventHandler<Trade> {

    @Override
    public void onEvent(Trade trade, long l, boolean b) throws Exception {
        System.out.println("ID :"+trade.getTradeID()+"name : "+trade.getTradeName()+" trade : "+trade);
    }
}
